<link rel="stylesheet" type="text/css" href="/static/css/classlist.css" media="all" />
<table id="usertable">
        <thead> 
           <tr>
               <td>id</td>
               <td>班级名字</td>
               <td>老师名字</td>
               <td>添加日期</td>
               <td>查看</td>
               <td>操作</td>
            </tr>     
        </thead>
        
        {{range $key, $student := .list}}
        <tr>
                <td>{{.Cid}}</td>
                <td>{{.Cname}}</td>
                <td>{{.Tname}}</td>
                <td>{{.Created}}</td>
                <td>
                        <a href="/admin/stulistbycid?cid={{.Cid}}">学生列表</a> 
                        <a href="/admin/examlistbycid?cid={{.Cid}}">考试列表</a> 
                </td>
                <td>
                        <a href="/admin/delstudent?id={{.Cid}}">删除</a>
                         

                </td>
        </tr>
        {{end}} 
       
        <tr>
                <td>
                       <!-- {{.page}}页 -->
                </td>
        </tr>
</table>